package com.computergames.server.message;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ReconnectRequestMessage extends Message implements HasJwtToken{
    String username;
    String jwtToken;

    public ReconnectRequestMessage() {
    }

    public ReconnectRequestMessage(String username, String jwtToken) {
        this.username = username;
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return ReconnectRequestMessage;
    }
}
